package com.xjnt.frameworks.web.tree;

import java.util.List;

import com.google.common.collect.Lists;

public class TreeNode {
	Object model;
	List<TreeNode> nodes = Lists.newArrayList();

	public TreeNode(Object model) {
		this.model = model;
	}

	public Object getModel() {
		return model;
	}

	public void setModel(Object model) {
		this.model = model;
	}

	public List<TreeNode> getNodes() {
		return nodes;
	}

	public void setNodes(List<TreeNode> nodes) {
		this.nodes = nodes;
	}
}
